#include "WPILib.h"

class XboxJoystick:
	public Joystick
{
	public:
		enum XboxAxis
		{
			kLeftX = 1,
			kLeftY = 2,
			kRightX = 4,
			kRightY = 5
		};
		
		enum XboxButton
		{
			kA = 0,
			kB = 1,
			kX = 2,
			kY = 3,
			kLb = 4,
			kRb = 5,
			kBack = 6,
			kStart = 7,
			kRightStickPress = 8,
			kLeftStickPress = 9
		};
		
		XboxJoystick(int joystickPort);
		virtual ~XboxJoystick();
		
		double GetAxisValue(XboxAxis axis);
		bool GetButton(XboxButton button);
		bool GetRightTrigger();
		bool GetLeftTrigger();
};
